//Director负责装配
public class Director {
    private Builder builder;
    public Director(Builder builder) {
        this.builder = builder;
    }
    public Object construct() {
        builder.makeTitle("Greeting");
        builder.makeString("这是一个简单的string");
        builder.makeItems(new String[]{
            "第一个",
            "第二个",
        });
        builder.makeString("另一个简单的stirng");
        builder.makeItems(new String[]{
            "第一个",
            "第二个",
            "第三个",
        });
        return builder.getResult();
    }
}

